//
//  DBModel.h
//  XhlTrip
//
//  Created by dllo on 15/8/29.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DBModel : NSObject

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSNumber *photos_count;
@property (nonatomic, retain) NSString *start_date;
@property (nonatomic, retain) NSNumber *days;
@property (nonatomic, retain) NSURL *front_cover_photo_url;
@property (nonatomic, retain) NSNumber *number;  // ID号

+ (instancetype)dbModelWith:(NSString *)name photos_count:(NSNumber *)photos_count start_date:(NSString *)start_date days:(NSNumber *)days front_cover_photo_url:(NSURL *)front_cover_photo_url number:(NSNumber *)number;

@end
